PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Hypnotic / Polar Rolling / flexi + goody - the prayerwheel - misplaced prayers.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.527 |
| 27 | fWaveSmoothing=0.450 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.000 |
| 30 | fModWaveAlphaEnd=1.320 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.800 |
| 45 | wave_g=0.490 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.015 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=282 |
| 77 | wavecode_0_sep=20 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=7.85800 |
| 83 | wavecode_0_smoothing=0.10000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=0.300 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.600 |
| 88 | wave_0_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 89 | wave_0_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 90 | wave_0_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 91 | wave_0_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 92 | wave_0_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 93 | wave_0_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 94 | wave_0_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 95 | wave_0_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 96 | wave_0_init9= |
| 97 | wave_0_per_frame1=t2 = t2 + bass_att; |
| 98 | wave_0_per_point1=x = rand(100)/100; |
| 99 | wave_0_per_point2=y = rand(100)/100; |
| 100 | wavecode_1_enabled=0 |
| 101 | wavecode_1_samples=512 |
| 102 | wavecode_1_sep=0 |
| 103 | wavecode_1_bSpectrum=0 |
| 104 | wavecode_1_bUseDots=1 |
| 105 | wavecode_1_bDrawThick=1 |
| 106 | wavecode_1_bAdditive=0 |
| 107 | wavecode_1_scaling=0.89152 |
| 108 | wavecode_1_smoothing=0.82000 |
| 109 | wavecode_1_r=1.000 |
| 110 | wavecode_1_g=1.000 |
| 111 | wavecode_1_b=1.000 |
| 112 | wavecode_1_a=0.100 |
| 113 | wave_1_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 114 | wave_1_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 115 | wave_1_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 116 | wave_1_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 117 | wave_1_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 118 | wave_1_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 119 | wave_1_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 120 | wave_1_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 121 | wave_1_init9= |
| 122 | wave_1_per_frame1=tm = time*.1; |
| 123 | wave_1_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7); |
| 124 | wave_1_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8); |
| 125 | wave_1_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1); |
| 126 | wave_1_per_frame5= |
| 127 | wave_1_per_frame6=tic = min(time - tin,1); |
| 128 | wave_1_per_frame7=tin = time; |
| 129 | wave_1_per_frame8= |
| 130 | wave_1_per_frame9=tva = (tic*q1*.5); |
| 131 | wave_1_per_frame10=tvb = (tic*q2*.5); |
| 132 | wave_1_per_frame11=tvc = (tic*q3*.5); |
| 133 | wave_1_per_frame12= |
| 134 | wave_1_per_frame13=q1 = tva; |
| 135 | wave_1_per_frame14=q2 = tvb; |
| 136 | wave_1_per_frame15=q3 = tvc; |
| 137 | wave_1_per_frame16= |
| 138 | wave_1_per_frame17=sz = .5; |
| 139 | wave_1_per_frame18=len = q4; |
| 140 | wave_1_per_frame19=t4 = len; |
| 141 | wave_1_per_point1=xi = rand(100)/100; |
| 142 | wave_1_per_point2=yi = rand(100)/100; |
| 143 | wave_1_per_point3= |
| 144 | wave_1_per_point4=x = xi; y = yi; |
| 145 | wave_1_per_point5= |
| 146 | wave_1_per_point6=a = q21/15; |
| 147 | wavecode_2_enabled=0 |
| 148 | wavecode_2_samples=512 |
| 149 | wavecode_2_sep=0 |
| 150 | wavecode_2_bSpectrum=0 |
| 151 | wavecode_2_bUseDots=0 |
| 152 | wavecode_2_bDrawThick=1 |
| 153 | wavecode_2_bAdditive=0 |
| 154 | wavecode_2_scaling=0.89152 |
| 155 | wavecode_2_smoothing=0.82000 |
| 156 | wavecode_2_r=0.000 |
| 157 | wavecode_2_g=0.200 |
| 158 | wavecode_2_b=0.000 |
| 159 | wavecode_2_a=1.000 |
| 160 | wave_2_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 161 | wave_2_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 162 | wave_2_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 163 | wave_2_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 164 | wave_2_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 165 | wave_2_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 166 | wave_2_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 167 | wave_2_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 168 | wave_2_init9= |
| 169 | wave_2_per_frame1=tm = time*.1; |
| 170 | wave_2_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7); |
| 171 | wave_2_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8); |
| 172 | wave_2_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1); |
| 173 | wave_2_per_frame5= |
| 174 | wave_2_per_frame6=tic = min(time - tin,1); |
| 175 | wave_2_per_frame7=tin = time; |
| 176 | wave_2_per_frame8= |
| 177 | wave_2_per_frame9=tva = (tic*q1*.5); |
| 178 | wave_2_per_frame10=tvb = (tic*q2*.5); |
| 179 | wave_2_per_frame11=tvc = (tic*q3*.5); |
| 180 | wave_2_per_frame12= |
| 181 | wave_2_per_frame13=q1 = tva; |
| 182 | wave_2_per_frame14=q2 = tvb; |
| 183 | wave_2_per_frame15=q3 = tvc; |
| 184 | wave_2_per_frame16= |
| 185 | wave_2_per_frame17=sz = .5; |
| 186 | wave_2_per_frame18=len = 1; |
| 187 | wave_2_per_frame19=t4 = len; |
| 188 | wavecode_3_enabled=0 |
| 189 | wavecode_3_samples=512 |
| 190 | wavecode_3_sep=0 |
| 191 | wavecode_3_bSpectrum=1 |
| 192 | wavecode_3_bUseDots=1 |
| 193 | wavecode_3_bDrawThick=0 |
| 194 | wavecode_3_bAdditive=0 |
| 195 | wavecode_3_scaling=1.00000 |
| 196 | wavecode_3_smoothing=0.50000 |
| 197 | wavecode_3_r=1.000 |
| 198 | wavecode_3_g=1.000 |
| 199 | wavecode_3_b=1.000 |
| 200 | wavecode_3_a=1.000 |
| 201 | shapecode_0_enabled=0 |
| 202 | shapecode_0_sides=4 |
| 203 | shapecode_0_additive=1 |
| 204 | shapecode_0_thickOutline=0 |
| 205 | shapecode_0_textured=0 |
| 206 | shapecode_0_num_inst=1 |
| 207 | shapecode_0_x=0.500 |
| 208 | shapecode_0_y=0.500 |
| 209 | shapecode_0_rad=0.04896 |
| 210 | shapecode_0_ang=0.00000 |
| 211 | shapecode_0_tex_ang=1.00531 |
| 212 | shapecode_0_tex_zoom=1.53117 |
| 213 | shapecode_0_r=0.000 |
| 214 | shapecode_0_g=1.000 |
| 215 | shapecode_0_b=1.000 |
| 216 | shapecode_0_a=1.000 |
| 217 | shapecode_0_r2=0.830 |
| 218 | shapecode_0_g2=0.930 |
| 219 | shapecode_0_b2=0.800 |
| 220 | shapecode_0_a2=0.000 |
| 221 | shapecode_0_border_r=1.000 |
| 222 | shapecode_0_border_g=1.000 |
| 223 | shapecode_0_border_b=0.000 |
| 224 | shapecode_0_border_a=0.000 |
| 225 | shape_0_per_frame1= |
| 226 | shape_0_per_frame2=trel = time/3; |
| 227 | shape_0_per_frame3= |
| 228 | shape_0_per_frame4=x = .5+sin(trel*2); |
| 229 | shape_0_per_frame5=y = .5+cos(trel*1.3); |
| 230 | shape_0_per_frame6= |
| 231 | shape_0_per_frame7= |
| 232 | shape_0_per_frame8= |
| 233 | shape_0_per_frame9= |
| 234 | shape_0_per_frame10=rad = .1; |
| 235 | shape_0_per_frame11=a = .8; |
| 236 | shapecode_1_enabled=0 |
| 237 | shapecode_1_sides=4 |
| 238 | shapecode_1_additive=0 |
| 239 | shapecode_1_thickOutline=1 |
| 240 | shapecode_1_textured=1 |
| 241 | shapecode_1_num_inst=1 |
| 242 | shapecode_1_x=0.260 |
| 243 | shapecode_1_y=0.200 |
| 244 | shapecode_1_rad=0.39317 |
| 245 | shapecode_1_ang=0.00000 |
| 246 | shapecode_1_tex_ang=0.00000 |
| 247 | shapecode_1_tex_zoom=0.93550 |
| 248 | shapecode_1_r=0.000 |
| 249 | shapecode_1_g=0.550 |
| 250 | shapecode_1_b=0.500 |
| 251 | shapecode_1_a=1.000 |
| 252 | shapecode_1_r2=0.000 |
| 253 | shapecode_1_g2=0.400 |
| 254 | shapecode_1_b2=0.400 |
| 255 | shapecode_1_a2=0.070 |
| 256 | shapecode_1_border_r=0.300 |
| 257 | shapecode_1_border_g=0.700 |
| 258 | shapecode_1_border_b=0.800 |
| 259 | shapecode_1_border_a=0.400 |
| 260 | shape_1_per_frame1=tex_zoom = q27; |
| 261 | shapecode_2_enabled=0 |
| 262 | shapecode_2_sides=44 |
| 263 | shapecode_2_additive=0 |
| 264 | shapecode_2_thickOutline=0 |
| 265 | shapecode_2_textured=0 |
| 266 | shapecode_2_num_inst=1 |
| 267 | shapecode_2_x=0.503 |
| 268 | shapecode_2_y=0.500 |
| 269 | shapecode_2_rad=0.03886 |
| 270 | shapecode_2_ang=0.00000 |
| 271 | shapecode_2_tex_ang=0.00000 |
| 272 | shapecode_2_tex_zoom=0.60986 |
| 273 | shapecode_2_r=1.000 |
| 274 | shapecode_2_g=0.100 |
| 275 | shapecode_2_b=0.000 |
| 276 | shapecode_2_a=0.900 |
| 277 | shapecode_2_r2=1.000 |
| 278 | shapecode_2_g2=1.000 |
| 279 | shapecode_2_b2=1.000 |
| 280 | shapecode_2_a2=0.000 |
| 281 | shapecode_2_border_r=0.500 |
| 282 | shapecode_2_border_g=0.500 |
| 283 | shapecode_2_border_b=1.000 |
| 284 | shapecode_2_border_a=0.000 |
| 285 | shape_2_per_frame1=x = rand(50)/50; |
| 286 | shape_2_per_frame2=y = .5; |
| 287 | shape_2_per_frame3= |
| 288 | shape_2_per_frame4=r = .4; |
| 289 | shape_2_per_frame5=g = .6; |
| 290 | shape_2_per_frame6=b = 1; |
| 291 | shape_2_per_frame7=r2 = r; |
| 292 | shape_2_per_frame8=g2 = g; |
| 293 | shape_2_per_frame9=b2 = b; |
| 294 | shape_2_per_frame10= |
| 295 | shape_2_per_frame11=a2 = min(q21/2 ,1)/2; |
| 296 | shape_2_per_frame12= |
| 297 | shape_2_per_frame13=a = 0; |
| 298 | shape_2_per_frame14= |
| 299 | shape_2_per_frame15=rad = a2 * (.1+abs(x-.5))/2 ; |
| 300 | shapecode_3_enabled=0 |
| 301 | shapecode_3_sides=4 |
| 302 | shapecode_3_additive=0 |
| 303 | shapecode_3_thickOutline=1 |
| 304 | shapecode_3_textured=1 |
| 305 | shapecode_3_num_inst=1 |
| 306 | shapecode_3_x=0.260 |
| 307 | shapecode_3_y=0.760 |
| 308 | shapecode_3_rad=0.39478 |
| 309 | shapecode_3_ang=0.00000 |
| 310 | shapecode_3_tex_ang=0.00000 |
| 311 | shapecode_3_tex_zoom=0.49981 |
| 312 | shapecode_3_r=1.000 |
| 313 | shapecode_3_g=1.000 |
| 314 | shapecode_3_b=1.000 |
| 315 | shapecode_3_a=1.000 |
| 316 | shapecode_3_r2=1.000 |
| 317 | shapecode_3_g2=1.000 |
| 318 | shapecode_3_b2=1.000 |
| 319 | shapecode_3_a2=0.800 |
| 320 | shapecode_3_border_r=0.200 |
| 321 | shapecode_3_border_g=0.700 |
| 322 | shapecode_3_border_b=0.500 |
| 323 | shapecode_3_border_a=1.000 |
| 324 | shape_3_per_frame1=tex_zoom = q27/2; |
| 325 | per_frame_1= |
| 326 | per_frame_2=// a |
| 327 | per_frame_3=scale = 8; |
| 328 | per_frame_4=angle = -time*0.2; |
| 329 | per_frame_5= |
| 330 | per_frame_6=q1 = scale*cos(angle); // the real part |
| 331 | per_frame_7=q2 = scale*sin(angle); // the imaginary part |
| 332 | per_frame_8= |
| 333 | per_frame_9=// b |
| 334 | per_frame_10= |
| 335 | per_frame_11=q3 = 0; // the real part |
| 336 | per_frame_12=q4 = 0.3; // the imaginary part |
| 337 | per_frame_13= |
| 338 | per_frame_14=// c |
| 339 | per_frame_15=scale = 0.8; |
| 340 | per_frame_16=angle = time*0.2; |
| 341 | per_frame_17= |
| 342 | per_frame_18=q5 = scale*cos(angle); // the real part |
| 343 | per_frame_19=q6 = scale*sin(angle); // the imaginary part |
| 344 | per_frame_20= |
| 345 | per_frame_21=// d |
| 346 | per_frame_22=q7 = -0.25; // the real part |
| 347 | per_frame_23=q8 = 0.2; // the imaginary part |
| 348 | per_frame_24= |
| 349 | per_frame_25=q11 = 1/asin(1); |
| 350 | warp_1=`sampler sampler_prayerwheel; |
| 351 | warp_2=`shader_body { |
| 352 | warp_3=` |
| 353 | warp_4=`float2 trans=1+.3*float2(roam_sin.x,roam_cos.y); |
| 354 | warp_5=`float2 move=float2(.12*time+.18*roam_sin.x, .12*time+.18*roam_cos.y); |
| 355 | warp_6=` |
| 356 | warp_7=`ret= tex2D(sampler_prayerwheel,uv*trans+move); |
| 357 | warp_8=` |
| 358 | warp_9=`ret.x*=sin(ang*8+.31*time); |
| 359 | warp_10=`ret.y*=.5+sin(ang*4+.21*time); |
| 360 | warp_11=`ret.z*=.5+sin(rad*2+.4*time); |
| 361 | warp_12=` |
| 362 | warp_13=`} |
| 363 | comp_1=`sampler sampler_sunrise; |
| 364 | comp_2=` |
| 365 | comp_3=`float2 factorA, factorB, product; |
| 366 | comp_4=`float2 numerator, denominator, fraction; |
| 367 | comp_5=` |
| 368 | comp_6=`shader_body |
| 369 | comp_7=`{ |
| 370 | comp_8=`float2 uvo = uv; |
| 371 | comp_9=`//*** Flexis Moebius transformation code |
| 372 | comp_10=` |
| 373 | comp_11=`uv = (uv-0.5)*aspect.xy*2; |
| 374 | comp_12=`factorA = uv; |
| 375 | comp_13=`factorB = float2(q1,q2); |
| 376 | comp_14=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, // the products real part |
| 377 | comp_15=` factorA.x*factorB.y + factorA.y*factorB.x); // the products imaginary part |
| 378 | comp_16=` |
| 379 | comp_17=`numerator = product + float2(q3,q4); |
| 380 | comp_18=` |
| 381 | comp_19=`factorA = uv; |
| 382 | comp_20=`factorB = float2(q5,q6); |
| 383 | comp_21=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, // the products real part |
| 384 | comp_22=` factorA.x*factorB.y + factorA.y*factorB.x); // the products imaginary part |
| 385 | comp_23=` |
| 386 | comp_24=` |
| 387 | comp_25=`denominator = product + float2(q7,q8); |
| 388 | comp_26=` |
| 389 | comp_27=`fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part |
| 390 | comp_28=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part |
| 391 | comp_29=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 392 | comp_30=` |
| 393 | comp_31=`uv = fraction*0.5; |
| 394 | comp_32=` |
| 395 | comp_33=`// *** |
| 396 | comp_34=` |
| 397 | comp_35=` |
| 398 | comp_36=`// *** Flexis logarithmic spiral code |
| 399 | comp_37=` |
| 400 | comp_38=`float t = -time*0.5; // set velocity here |
| 401 | comp_39=`float2 c = (uv-0.5); |
| 402 | comp_40=`float1 ang_hq = -atan2(c.x,c.y); |
| 403 | comp_41=`// q11 = 1/asin(1); from the init section |
| 404 | comp_42=`float2 spiral = float2(ang_hq*q11*3+t,aspect.w*log(length(c))+ang_hq*q11-t); |
| 405 | comp_43=`spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*0.95; // mirror |
| 406 | comp_44=`uv = spiral; |
| 407 | comp_45=` |
| 408 | comp_46=`// *** |
| 409 | comp_47=` |
| 410 | comp_48=`ret = tex2d(sampler_main,spiral); |
| 411 | comp_49=`//ret = GetPixel(uvo); |
| 412 | comp_50=`} |